package com.oujia.cloud.cloudcommon.dto.logdto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class LoginHistoryDTO implements Serializable {

    private static final long serialVersionUID = 6776312262848916921L;


    private Long userId;


    private String loginIp;


    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date loginTime = new Date();


}
